#!/bin/sh

HOOK_FILE='/usr/share/kernel-hooks.d/akms.hook'

for link in /etc/kernel-hooks.d/*; do
	if [ "$(readlink -f "$link")" = "$HOOK_FILE" ]; then
		rm "$link"
	fi
done

exit 0
